﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace KTVProject.frm
{
    public partial class KTVManagement : Form
    {
        string tiShi = "提示";

        public KTVManagement()
        {
            InitializeComponent();
        }

        private void KTVManagement_Load(object sender, EventArgs e)
        {

        }

        private void TsmiAddSinger_Click(object sender, EventArgs e)    //新增歌手项
        {
            AddSingerInfo addSingerInfo = new AddSingerInfo();
            addSingerInfo.MdiParent = this;
            addSingerInfo.Show();
        }

        private void TsmiExit_Click(object sender, EventArgs e) //退出项
        {
            Application.Exit();
        }

        private void TsmiSearchSinger_Click(object sender, EventArgs e) //查询歌手项
        {
            SearchSinger searchSinger = new SearchSinger();
            searchSinger.MdiParent = this;
            searchSinger.Show();
        }

        private void TsmiAddMusic_Click(object sender, EventArgs e) //新增音乐项
        {
            AddMusic addMusic = new AddMusic();
            addMusic.MdiParent = this;
            addMusic.Show();
        }

        private void TsmiSetUpImagePath_Click(object sender, EventArgs e)   //设置图片路径项
        {
            SetUpImagePath setUpImagePath = new SetUpImagePath();
            setUpImagePath.MdiParent = this;
            setUpImagePath.Show();
        }

        private void TsmiSetUpMusicPath_Click(object sender, EventArgs e)   //设置音频路径项
        {
            SetUpMusicPath setUpMusicPath = new SetUpMusicPath();
            setUpMusicPath.MdiParent = this;
            setUpMusicPath.Show();
        }

        private void TsmiSearchMusic_Click(object sender, EventArgs e)  //查询音乐项
        {
            SearchMusic searchMusic = new SearchMusic();
            searchMusic.MdiParent = this;
            searchMusic.Show();
        }

        private void TsmiAbout_Click(object sender, EventArgs e)    //关于项
        {
            About about = new About();
            about.MdiParent = this;
            about.Show();
        }

        private void TsmiHelp_Click(object sender, EventArgs e) //帮助项
        {
            MessageBox.Show("Help",tiShi,MessageBoxButtons.OK,MessageBoxIcon.Question);
        }
    }
}
